import morgan from 'morgan';
import fs from 'fs';
import path from "path";
const logStream=fs.createWriteStream(path.join(__dirname,"../log/log"))
export default morgan("short",{stream:logStream});